﻿using System;

namespace DBUtil.Provider.MySql;

/// <summary>
/// mysql 专用列配置
/// </summary>
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false)]
public class MySqlColumnAttribute : Attribute
{
    /// <summary>
    /// ctor
    /// </summary>
    public MySqlColumnAttribute() : base() { }
    /// <summary>
    /// ctor
    /// </summary>
    public MySqlColumnAttribute(string name)
    {
        Name = name;
    }

    public string Name { get; set; }
    public int Order { get; set; }
    public string TypeName { get; set; }
}
